package com.tanhua.dubbo.api;

import com.tanhua.model.enums.CommentType;
import com.tanhua.model.mogo.Comment;

import java.util.List;

public interface CommentApi {
    /**
     * 发布动态评论
     * @param comment1
     * @return
     */
    public Integer Release(Comment comment1);

    /**
     * 分页查询评论列表
     * @param page
     * @param pagesize
     * @param movementId
     * @param type
     * @return
     */
    public List<Comment> Lookup(Integer page, Integer pagesize, String movementId, CommentType commentType);
}
